package com.taotao.shop.product.service;

import com.taotao.shop.common.util.PageUtils;
import com.taotao.shop.product.pojo.entity.PmsBrand;
import com.taotao.shop.product.pojo.entity.PmsCategoryBrandRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 品牌分类关联 服务类
 * </p>
 *
 * @author zwr
 * @since 2021-06-14
 */
public interface PmsCategoryBrandRelationService extends IService<PmsCategoryBrandRelation> {

    void updateCategory(Long catId, String name);

    void updateBrand(Long brandId, String name);

    List<PmsBrand> getBrandsByCatId(Long catId);

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(PmsCategoryBrandRelation categoryBrandRelation);
}
